package com.yunfangdata.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Getter
@Setter
public class Refund {

    private Long id;
    //正式学员对象封装了多个字段信息.
    private Officialstu officialstu;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone ="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date refundtime;

    //退款金额
    private LeaveStu leavestu;
    //退款原因
    private String cause;
    //退款人
    private Employee employee;
   //录入人
    private Employee inputuser;
    //付款方式
    private DataDict payment;


    //花费类型.
    private String expenditure;


    //收据
    private String receipts;

    //班级
    private Grade grade;
    //状态
    private Integer state;

    private DataDict parent;


}